.class Lcom/waiqin365/lightapp/product/t;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/waiqin365/lightapp/kehu/c/l;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/product/t;->a:Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 3

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/t;->a:Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;

    const-string/jumbo v1, ""

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->showProgressDialog(Ljava/lang/String;Z)V

    return-void
.end method

.method public a(I)V
    .locals 4

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/t;->a:Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->dismissProgressDialog()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/t;->a:Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/t;->a:Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;

    invoke-static {v1}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->a(Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;)Landroid/content/Context;

    move-result-object v1

    invoke-static {v1}, Lcom/waiqin365/base/db/offlinedata/w;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/w;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/t;->a:Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->getIntent()Landroid/content/Intent;

    move-result-object v2

    const-string/jumbo v3, "pdId"

    invoke-virtual {v2, v3}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/waiqin365/base/db/offlinedata/w;->b(Ljava/lang/String;)Lcom/waiqin365/lightapp/product/d/f;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->a(Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;Lcom/waiqin365/lightapp/product/d/f;)Lcom/waiqin365/lightapp/product/d/f;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/t;->a:Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->b(Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;)Lcom/waiqin365/lightapp/product/d/f;

    move-result-object v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/t;->a:Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->finish()V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/t;->a:Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->c(Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;)V

    goto :goto_0
.end method
